package com.sinosoft.demo2;

import com.alibaba.fastjson.JSON;
import com.sinosoft.domain.Person;

import java.util.Map;

/**
 * @Author: WangShengJie
 * @Date: 2024/9/5
 */
public class MapTest {
    public static void main(String[] args) throws Exception {
        Person person = new Person();
        Map<String, Object> convert = ToMapTest.convert(person);
        String s = JSON.toJSONString(convert);
        System.out.println(s);

    }
}
